const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  username: state => state.user.username,
  role: state => state.user.role,
  rolePreLevel: state => state.user.roleLevel,
  realName: state => state.user.realName,
  permissionRoutes: state => state.menus.routes
}
export default getters
